package com.yuanheng100.asset.consts.person;

/**
 * Created by jlqian on 2016/10/31.
 */
public enum ContactType
{
    MOBILE_PHONE((short)1,"手机"),

    WECHAT((short)2,"微信"),

    QQ((short)3,"腾讯QQ"),

    EMAIL((short)4,"邮箱"),

    FIXED_PHONE((short)5,"固话");

    private Short code;
    private String name;

    private ContactType(Short code , String name){
        this.code = code;
        this.name = name;
    }

    public Short getCode()
    {
        return code;
    }

    public void setCode(Short code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

}
